package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CaseWarn;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CaseWarnExample;
import java.util.List;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 案件提醒
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:30
 */
public interface CaseWarnDao {
    @DynamicDataSource("ds1")
    long countByExample(CaseWarnExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CaseWarnExample example);
    @DynamicDataSource("ds1")
    int insert(CaseWarn record);
    @DynamicDataSource("ds1")
    int insertSelective(CaseWarn record);
    @DynamicDataSource("ds1")
    List<CaseWarn> selectByExample(CaseWarnExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CaseWarn record, @Param("example") CaseWarnExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CaseWarn record, @Param("example") CaseWarnExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CaseWarn record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CaseWarn record);
    @DynamicDataSource("ds1")
    CaseWarn selectByPrimaryKey(Integer caseWarnId);
    @DynamicDataSource("ds1")
    CaseWarn selectOneByExample(CaseWarnExample example);
    @DynamicDataSource("ds1")
    CaseWarn selectOneByExampleSelective(@Param("example") CaseWarnExample example, @Param("selective") CaseWarn.Column... selective);
    @DynamicDataSource("ds1")
    CaseWarn selectByPrimaryKeySelective(Integer caseWarnId, @Param("selective") CaseWarn.Column... selective);
    @DynamicDataSource("ds1")
    List<CaseWarn> selectByExampleSelective(@Param("example") CaseWarnExample example, @Param("selective") CaseWarn.Column... selective);

}
